/* 
 * Copyright [2018] [Alex/libo(liboware@gmail.com)]
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hyts.infodb.config;

/** 
 * @author LiBo/Alex
 * @version V1.0 
 */
public enum StatusTypeEnum {
    
    SHOW("显示",0),
    HIDDEN("隐藏",1),
    LOCAL("远程",0),
    REMOTE("本地",1),
    UN_VALIDATE("未认证",0),
    NORMAL("已认证",1),
    IS_LOCK("已锁定",2);
    
    private String code;
    
    private Integer value;

    /**  
     * @constructor：StatusTypeEnum  
     * @param code
     * @param value  
     */ 
    private StatusTypeEnum(String code, Integer value) {
        this.code = code;
        this.value = value;
    }

    /**  
     * @name code's getter method
     * @param none
     * @return code
     */
    public String getCode() {
        return code;
    }

    /**  
     * @name code's setter method
     * @param code
     * @return void
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**  
     * @name value's getter method
     * @param none
     * @return value
     */
    public Integer getValue() {
        return value;
    }

    /**  
     * @name value's setter method
     * @param value
     * @return void
     */
    public void setValue(Integer value) {
        this.value = value;
    }
    
}
